package com.kitchen.beans.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Praise {
    @Id
    @Column(name = "praise_id")
    private Integer praiseId;
    /*
     * 用户ID
     * */
    @Column(name = "user_id")
    private Integer userId;
    /*
     * 作品ID
     * */
    @Column(name = "f_id")
    private Integer fId;
    /*
     * 评论ID
     * */
    @Column(name = "comm_id")
    private Integer commId;
}
